package com.entity;


import java.sql.Timestamp;
import java.util.List;

public class Resource {

  private Integer id;
  private String resourceName;
  private String url;
  private String identity;
  private String momo;
  private String icon;
  private Integer pid;
  private Integer status;
  private String sort;
  private String resourceType;
  private java.sql.Timestamp createDate;
  private List<Resource> list;

  @Override
  public String toString() {
    return "Resource{" +
            "id=" + id +
            ", resourceName='" + resourceName + '\'' +
            ", url='" + url + '\'' +
            ", identity='" + identity + '\'' +
            ", momo='" + momo + '\'' +
            ", icon='" + icon + '\'' +
            ", pid=" + pid +
            ", status=" + status +
            ", sort='" + sort + '\'' +
            ", resourceType='" + resourceType + '\'' +
            ", createDate=" + createDate +
            ", list=" + list +
            '}';
  }

  public List<Resource> getList() {
    return list;
  }

  public void setList(List<Resource> list) {
    this.list = list;
  }

  public Resource() {
  }

  public Resource(Integer id, String resourceName, String url, String identity, String momo, String icon, Integer pid, Integer status, String sort, String resourceType, Timestamp createDate) {
    this.id = id;
    this.resourceName = resourceName;
    this.url = url;
    this.identity = identity;
    this.momo = momo;
    this.icon = icon;
    this.pid = pid;
    this.status = status;
    this.sort = sort;
    this.resourceType = resourceType;
    this.createDate = createDate;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getResourceName() {
    return resourceName;
  }

  public void setResourceName(String resourceName) {
    this.resourceName = resourceName;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }


  public String getIdentity() {
    return identity;
  }

  public void setIdentity(String identity) {
    this.identity = identity;
  }


  public String getMomo() {
    return momo;
  }

  public void setMomo(String momo) {
    this.momo = momo;
  }


  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }


  public Integer getPid() {
    return pid;
  }

  public void setPid(Integer pid) {
    this.pid = pid;
  }


  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }


  public String getSort() {
    return sort;
  }

  public void setSort(String sort) {
    this.sort = sort;
  }


  public String getResourceType() {
    return resourceType;
  }

  public void setResourceType(String resourceType) {
    this.resourceType = resourceType;
  }


  public java.sql.Timestamp getCreateDate() {
    return createDate;
  }

  public void setCreateDate(java.sql.Timestamp createDate) {
    this.createDate = createDate;
  }

}
